﻿namespace B.S.Material.Read.Api.Dto
{
    public class MaterialsChildDto
    {

        ///生产领料
        public int PickingId { get; set; }
        /// <summary>
        /// 单据主题1
        /// </summary>
        public string DocumentSubject { get; set; }
        /// <summary>
        /// 单据编号1
        /// </summary>
        public string? DocumentNo { get; set; }
        /// <summary>
        /// 领料日期
        /// </summary>
        public DateTime PickingDate { get; set; }
        /// <summary>
        /// 来源单据类型1
        /// </summary>
        public string DocumentType { get; set; }
        /// <summary>
        ///来源单据1
        /// </summary>
        public string DocumentSource { get; set; }
        /// <summary>
        /// 领料数量合计
        /// </summary>
        public decimal PickingNumber { get; set; }
        /// <summary>
        ///制单日期
        /// </summary>
        public DateTime ProduceDate { get; set; }
        /// <summary>
        /// 制单人员
        /// </summary>
        public string ProduceName { get; set; }
        /// <summary>
        ///关联项目
        /// </summary>
        public string RelatedProject { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string PickingNote { get; set; }


        public int DetailID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int IssueID { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProductName { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        public string ProductCode { get; set; }
        /// <summary>
        /// 型号
        /// </summary>
        public string Model { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; }
        /// <summary>
        /// 领料数量
        /// </summary>
        public int IssueQuantity { get; set; }
        /// <summary>
        /// 出库库管
        /// </summary>
        public int Warehouse { get; set; }
        /// <summary>
        /// 现有库存
        /// </summary>
        public int CurrentStock { get; set; }
        /// <summary>
        /// 交货日期
        /// </summary>
        public DateTime DeliveryDate { get; set; }
        /// <summary>
        /// 备注2
        /// </summary>
        public string Remarks { get; set; }
        /// <summary>
        /// 领料方式
        /// </summary>
        public string PickupMethod { get; set; }
        /// <summary>
        /// 关联单据
        /// </summary>
        public string RelatedDoc { get; set; }


        /// <summary>
        /// 删除
        /// </summary>
        public bool IsDel { get; set; }
    }
}
